package com.buaa.airticketbookingsystem.Controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin
@RestController
public class HelloController {
    @GetMapping("/hello")
    public String Hello(){
        return "Hello World!";
    }

}
